Auto merge of #4442 - Xanewok:process-builder-program, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 28 Aug 2017 15:52:06 +0000 (15:52 +0000)
committerbors <bors@rust-lang.org>
Mon, 28 Aug 2017 15:52:06 +0000 (15:52 +0000)
commit814c38945e380d33483d0e3f7552e38534ad1a94
tree87fede8cd7cdc6fdf6a0a1e17ab738c2586b5ab7
parent4b1b4a6ed47d5d2d7ef2d3d09b1186a8ca225f5e
parentd554ce591fb4677a876c7e420cba79592fe2cfb1
Auto merge of #4442 - Xanewok:process-builder-program, r=alexcrichton

Allow to substitute executed program in `ProcessBuilder`

Extends #4424. Sorry for the noise, turns out it'd also be useful to substite the executed program (e.g. for rls, which needs to use a rustc shim itself) without having to copy over manually all parts of the `ProcessBuilder`.

While I'm at it, do you think this needs even more functionality, like being able to specify `None` for the `cwd` or `jobserver` (currently API exposes only ability to specify `Some(...)` as values for those)?

r? @alexcrichton